﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NovelFetch.Models
{
    public class BookRule
    {
        public int Id { get; set; }
        /// <summary>
        /// 规则名称
        /// </summary>
        public string RuleName { get; set; }

        /// <summary>
        /// 站点编码
        /// </summary>
        public string SiteEncode { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 站点Url       
        /// </summary>
        public string SiteUrl { get; set; }

        /// <summary>
        /// 目录规则
        /// </summary>
        public string CatalogRule { get; set; }

        /// <summary>
        /// 标题规则
        /// </summary>
        public string TitleRule { get; set; }

        /// <summary>
        /// 内容规则
        /// </summary>
        public string ContentRule { get; set; }

        /// <summary>
        /// 内容头部跳过行数
        /// </summary>
        public int HeaderSkipLine { get; set; }

        /// <summary>
        /// 内容尾部跳过行数
        /// </summary>
        public int FooterSkipLine { get; set; }
    }
}
